//课程类，包含课程名字和编号，任课老师名字和编号
public class Course {
    private String courseName;
    private String cID;

    private String teacherID;
    private String teacherName;

    //平时成绩占比
    private String normalPercent;
    //期末成绩占比
    private String finalPercent;

    public Course() {
    }

    public Course(String courseName, String cID, String teacherID, String teacherName) {
        this.courseName = courseName;
        this.cID = cID;
        this.teacherID = teacherID;
        this.teacherName = teacherName;
    }

    public Course(String courseName, String cID, String teacherID, String teacherName, String normalPercent, String finalPercent) {
        this.courseName = courseName;
        this.cID = cID;
        this.teacherID = teacherID;
        this.teacherName = teacherName;
        this.normalPercent = normalPercent;
        this.finalPercent = finalPercent;
    }

    /**
     * 获取
     * @return courseName
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * 设置
     * @param courseName
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    /**
     * 获取
     * @return cID
     */
    public String getcID() {
        return cID;
    }

    /**
     * 设置
     * @param cID
     */
    public void setcID(String cID) {
        this.cID = cID;
    }

    /**
     * 获取
     * @return teacherID
     */
    public String getTeacherID() {
        return teacherID;
    }

    /**
     * 设置
     * @param teacherID
     */
    public void setTeacherID(String teacherID) {
        this.teacherID = teacherID;
    }

    /**
     * 获取
     * @return teacherName
     */
    public String getTeacherName() {
        return teacherName;
    }

    /**
     * 设置
     * @param teacherName
     */
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String toString() {
        return "Course{courseName = " + courseName + ", cID = " + cID + ", teacherID = " + teacherID + ", teacherName = " + teacherName + "}";
    }

    /**
     * 获取
     * @return cID
     */
    public String getCID() {
        return cID;
    }

    /**
     * 设置
     * @param cID
     */
    public void setCID(String cID) {
        this.cID = cID;
    }

    /**
     * 获取
     * @return normalPercent
     */
    public String getNormalPercent() {
        return normalPercent;
    }

    /**
     * 设置
     * @param normalPercent
     */
    public void setNormalPercent(String normalPercent) {
        this.normalPercent = normalPercent;
    }

    /**
     * 获取
     * @return finalPercent
     */
    public String getFinalPercent() {
        return finalPercent;
    }

    /**
     * 设置
     * @param finalPercent
     */
    public void setFinalPercent(String finalPercent) {
        this.finalPercent = finalPercent;
    }
}
